Enable and configure Suricata unix command socket
authorArturo Borrero Gonzalez <arturo@debian.org>
Thu, 6 Nov 2025 16:36:49 +0000 (17:36 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Thu, 6 Nov 2025 16:36:49 +0000 (17:36 +0100)
Forwarded: not-needed
Last-Update: 2025-08-22

Gbp-Pq: Name enable-unix-command-socket.patch

suricata.yaml.in

index 9b96a59ea3d5973a8344b77156b84ef8e0b7e026..737d06abb7404dad9eab5857bcc5d17bebe7956d 100644 (file)
@@ -1396,8 +1396,8 @@ host-mode: auto
 # activated in live capture mode. You can use the filename variable to set
 # the file name of the socket.
 unix-command:
-  enabled: auto
-  #filename: custom.socket
+  enabled: yes
+  filename: @e_localstatedir@/suricata-command.socket
 
 # Magic file. The extension .mgc is added to the value here.
 #magic-file: /usr/share/file/magic